﻿
namespace ZR.Model.Dto.Business.ProductionControl
{
    /// <summary>
    /// OP60盖板底座焊丝组合查询对象
    /// </summary>
    public class DcOp50RecordQueryDto : PagerInfo
    {
        public DateTime? BeginTime { get; set; }
        public DateTime? EndTime { get; set; }

        public string CoverCode { get; set; }
    }

    /// <summary>
    /// OP60盖板底座焊丝组合输入输出对象
    /// </summary>
    public class DcOp50RecordDto
    {
        [Required(ErrorMessage = "Id不能为空")]
        public long Id { get; set; }

        [Required(ErrorMessage = "托盘号不能为空")]
        public int PalletNo { get; set; }

        [Required(ErrorMessage = "盖板码不能为空")]
        public string CoverCode { get; set; }

        [Required(ErrorMessage = "中板子篮码不能为空")]
        public string MiddlePlateBasketCode { get; set; }

        [Required(ErrorMessage = "焊片子篮码	不能为空")]
        public string WeldedPlateBasketCode { get; set; }

        [Required(ErrorMessage = "外环检测翅片数量	不能为空")]
        public int OuterRingFinCount { get; set; }

        [Required(ErrorMessage = "内环检测翅片数量不能为空")]
        public int InnerRingFinCount { get; set; }

        [Required(ErrorMessage = "外环平面度	不能为空")]
        public decimal OuterRingFlatness { get; set; }

        [Required(ErrorMessage = "内环平面度	不能为空")]
        public decimal InnerRingFlatness { get; set; }

        [Required(ErrorMessage = "圆孔检测 1	不能为空")]
        public decimal RoundHoleInspection1 { get; set; }

        [Required(ErrorMessage = "圆孔检测 2	不能为空")]
        public decimal RoundHoleInspection2 { get; set; }

        [Required(ErrorMessage = "圆柱检测 1不能为空")]
        public decimal CylinderInspection1 { get; set; }

        [Required(ErrorMessage = "圆柱检测 2	不能为空")]
        public decimal CylinderInspection2 { get; set; }

        [Required(ErrorMessage = "翘曲值	不能为空")]
        public decimal WarpageValue { get; set; }

        [Required(ErrorMessage = "平面度不能为空")]
        public decimal Flatness { get; set; }

        [Required(ErrorMessage = "轮廓度 x 距离不能为空")]
        public decimal ProfileXDistance { get; set; }

        [Required(ErrorMessage = "轮廓度 y 距离不能为空")]
        public decimal ProfileYDistance { get; set; }

        [Required(ErrorMessage = "位置度左上圆不能为空")]
        public decimal PositionDegreeTopLeftCircle { get; set; }

        [Required(ErrorMessage = "位置度右下圆不能为空")]
        public decimal PositionDegreeBottomRightCircle { get; set; }

        [Required(ErrorMessage = "厚度不能为空")]
        public decimal Thickness { get; set; }

        [Required(ErrorMessage = "平面度左	不能为空")]
        public decimal LeftFlatness { get; set; }

        [Required(ErrorMessage = "数量左不能为空")]
        public int LeftQuantity { get; set; }

        [Required(ErrorMessage = "最大间距左头不能为空")]
        public decimal MaxSpacingLeftHead { get; set; }

        [Required(ErrorMessage = "最大间距左中	不能为空")]
        public decimal MaxSpacingLeftMiddle { get; set; }

        [Required(ErrorMessage = "最大间距左尾	不能为空")]
        public decimal MaxSpacingLeftTail { get; set; }

        [Required(ErrorMessage = "平面度右	不能为空")]
        public decimal RightFlatness { get; set; }

        [Required(ErrorMessage = "数量右不能为空")]
        public int RightQuantity { get; set; }

        [Required(ErrorMessage = "最大间距右头不能为空")]
        public decimal MaxSpacingRightHead { get; set; }

        [Required(ErrorMessage = "最大间距右中	不能为空")]
        public decimal MaxSpacingRightMiddle { get; set; }

        [Required(ErrorMessage = "最大间距右尾	不能为空")]
        public decimal MaxSpacingRightTail { get; set; }

        [Required(ErrorMessage = "修改时间不能为空")]
        public DateTime? UpdateTime { get; set; }

        [Required(ErrorMessage = "创建时间不能为空")]
        public DateTime? CreatedTime { get; set; }

        [Required(ErrorMessage = "IsDeleted不能为空")]
        public bool IsDeleted { get; set; }



        [ExcelColumn(Name = "IsDeleted")]
        public string IsDeletedLabel { get; set; }

        /// <summary>
        /// 总结果
        /// </summary>
        public int TotalResult { get; set; }
        /// <summary>
        /// 中板检测结果
        /// </summary>
        public int MidPltInspectRes { get; set; }
        /// <summary>
        /// 焊片检测结果
        /// </summary>
        public int WeldTabInspectRes { get; set; }
        /// <summary>
        /// 翅片检测结果
        /// </summary>
        public int FinInspectRes { get; set; }

        /// <summary>
        /// 工位Id
        /// </summary>
        public int LocationId { get; set; }
    }
}